package com.becca.cake.model.system;

// auto generated imports
import java.io.Serializable;
import java.util.Date;

/**
 * A data object class directly models database table <tt>PRI_ADMINS</tt>.
 * <p>人员DO</p>
 * @author hejinguo
 */
public class AdminDO implements Serializable {
    /**  */
    private static final long serialVersionUID = -9023745442340631240L;

    // ========== properties ==========

    /**
     * This property corresponds to db column <tt>ID</tt>.
     * 标识
     */
    private Long              id;

    /**
     * This property corresponds to db column <tt>NAME</tt>.
     * 登录名称
     */
    private String            name;

    /**
     * This property corresponds to db column <tt>PASS</tt>.
     * 登录密码
     */
    private String            pass;

    /**
     * This property corresponds to db column <tt>TRUE_NAME</tt>.
     * 昵称
     */
    private String            trueName;
    /**
     * 性别
     */
    private String            sex;

    /**
     * This property corresponds to db column <tt>DEPT_ID</tt>.
     * 部门ID
     */
    private Long              deptId;
    /**
     * 部门名称
     */
    private String            deptName;

    /**
     * This property corresponds to db column <tt>EMAIL</tt>.
     * 邮箱
     */
    private String            email;

    /**
     * This property corresponds to db column <tt>CREATED_AT</tt>.
     * 创建时间
     */
    private Date              createdAt;

    /**
     * This property corresponds to db column <tt>CREATED_MAN</tt>.
     * 创建人
     */
    private String            createdMan;

    /**
     * This property corresponds to db column <tt>UPDATE_AT</tt>.
     * 修改时间
     */
    private Date              updatedAt;

    /**
     * This property corresponds to db column <tt>UPDATE_MAN</tt>.
     * 修改人
     */
    private String            updatedMan;

    /**
     * This property corresponds to db column <tt>IS_USEABLE</tt>.
     * 是否可用(0:禁用  1：可用)
     */
    private String            isUseable;

    /**
     * This property corresponds to db column <tt>POST_ID</tt>.
     * 岗位ID
     */
    private String            postId;

    /**
     * 职位名称
     */
    private String            postName;

    private Long              roleId;                                  //角色id

    private String            roleName;                                //角色名称

    private String            validateNumber;

    /**
     * 是否订阅消息(0:不订阅 1:订阅)
     */
    private Byte              isSubscription;

    private String            userSubIdStr;

    // ========== getters and setters ==========

    /**
     * Getter method for property <tt>id</tt>.
     * 
     * @return property value of id
     */
    public Long getId() {
        return id;
    }

    /**
     * Setter method for property <tt>id</tt>.
     * 
     * @param id
     *            value to be assigned to property id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * Getter method for property <tt>name</tt>.
     * 
     * @return property value of name
     */
    public String getName() {
        return name;
    }

    /**
     * Setter method for property <tt>name</tt>.
     * 
     * @param name
     *            value to be assigned to property name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Getter method for property <tt>pass</tt>.
     * 
     * @return property value of pass
     */
    public String getPass() {
        return pass;
    }

    /**
     * Setter method for property <tt>pass</tt>.
     * 
     * @param pass
     *            value to be assigned to property pass
     */
    public void setPass(String pass) {
        this.pass = pass;
    }

    /**
     * Getter method for property <tt>trueName</tt>.
     * 
     * @return property value of trueName
     */
    public String getTrueName() {
        return trueName;
    }

    /**
     * Setter method for property <tt>trueName</tt>.
     * 
     * @param trueName
     *            value to be assigned to property trueName
     */
    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    /**
     * Getter method for property <tt>deptId</tt>.
     * 
     * @return property value of deptId
     */
    public Long getDeptId() {
        return deptId;
    }

    /**
     * Setter method for property <tt>deptId</tt>.
     * 
     * @param deptId
     *            value to be assigned to property deptId
     */
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    /**
     * Getter method for property <tt>email</tt>.
     * 
     * @return property value of email
     */
    public String getEmail() {
        return email;
    }

    /**
     * Setter method for property <tt>email</tt>.
     * 
     * @param email
     *            value to be assigned to property email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * Getter method for property <tt>createdAt</tt>.
     * 
     * @return property value of createdAt
     */
    public Date getCreatedAt() {
        return createdAt;
    }

    /**
     * Setter method for property <tt>createdAt</tt>.
     * 
     * @param createdAt
     *            value to be assigned to property createdAt
     */
    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    /**
     * Getter method for property <tt>createdMan</tt>.
     * 
     * @return property value of createdMan
     */
    public String getCreatedMan() {
        return createdMan;
    }

    /**
     * Setter method for property <tt>createdMan</tt>.
     * 
     * @param createdMan
     *            value to be assigned to property createdMan
     */
    public void setCreatedMan(String createdMan) {
        this.createdMan = createdMan;
    }

    /**
     * Getter method for property <tt>updateAt</tt>.
     * 
     * @return property value of updateAt
     */
    public Date getUpdatedAt() {
        return updatedAt;
    }

    /**
     * Setter method for property <tt>updateAt</tt>.
     * 
     * @param updateAt
     *            value to be assigned to property updateAt
     */
    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    /**
     * Getter method for property <tt>updateMan</tt>.
     * 
     * @return property value of updateMan
     */
    public String getUpdatedMan() {
        return updatedMan;
    }

    /**
     * Setter method for property <tt>updateMan</tt>.
     * 
     * @param updateMan
     *            value to be assigned to property updateMan
     */
    public void setUpdatedMan(String updatedMan) {
        this.updatedMan = updatedMan;
    }

    /**
     * Getter method for property <tt>isUseable</tt>.
     * 
     * @return property value of isUseable
     */
    public String getIsUseable() {
        return isUseable;
    }

    /**
     * Setter method for property <tt>isUseable</tt>.
     * 
     * @param isUseable
     *            value to be assigned to property isUseable
     */
    public void setIsUseable(String isUseable) {
        this.isUseable = isUseable;
    }

    /**
     * Getter method for property <tt>postId</tt>.
     * 
     * @return property value of postId
     */
    public String getPostId() {
        return postId;
    }

    /**
     * Setter method for property <tt>postId</tt>.
     * 
     * @param postId value to be assigned to property postId
     */
    public void setPostId(String postId) {
        this.postId = postId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getValidateNumber() {
        return validateNumber;
    }

    public void setValidateNumber(String validateNumber) {
        this.validateNumber = validateNumber;
    }

    public Byte getIsSubscription() {
        return isSubscription;
    }

    public void setIsSubscription(Byte isSubscription) {
        this.isSubscription = isSubscription;
    }

    public String getUserSubIdStr() {
        return userSubIdStr;
    }

    public void setUserSubIdStr(String userSubIdStr) {
        this.userSubIdStr = userSubIdStr;
    }

}
